/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.softwareprincipals.single_responsibility_principal.obey.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.softwareprincipals.single_responsibility_principal.obey.model.CompactSubcriber;
import za.ac.cput.assignment2.softwareprincipals.single_responsibility_principal.obey.model.PremiumSubscriber;

/**
 *
 * @author Matthew
 */
@Configurable
public class Config {
    
    @Bean(name="compact")
    public CompactSubcriber com(){
        return new CompactSubcriber();
    }
    @Bean(name="premium")
    public PremiumSubscriber prem(){
        return new PremiumSubscriber();
    }
}
